<template>
    <div>
        <eagle-popup title="选择专项类型" round position="bottom"  :popStyle="{ height: '80%' }" v-bind="$attrs" v-on="$listeners" ref="eaglePopup" >
            <eagle-list>
                 <van-cell v-for="item in list" :key="item.ID" :title="item.Name" @click="chooseItemTypes(item.ID)"/>
            </eagle-list>
        </eagle-popup>
    </div>
</template>
<script>
//选择专项类型弹框
export default {
    name:"danger-item-popup",
    props:{
        list: {
			type: Array,
			default: () => []
		}
    },
    data(){
        return {
            value:''
        }
    },
    watch:{

    },
    created(){
    },
    methods:{
        chooseItemTypes(ItemType){
			this.$emit('cb', ItemType)
        }
    }
}
</script>